package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart implements Serializable {
    private Map<Integer,CartItem> items=new HashMap<>();
    private Double totalPrice;
    private Double savePrice;
    private Integer size=0;
}
